<include file='Public:header'/>
<div id="content">
    <div style="width:60%;margin:10px auto;">
        <form action="" method="post">
            <table class="table table-bordered">
                <tbody>
                <tr>
                    <td>first</td>
                    <td colspan="3">
                        <input type="text" name="first" value="" required="required" style="width:500px"/>
                    </td>
                </tr>
                <tr>
                    <td>keyword</td>
                    <td colspan="3">
                        <input type="text" name="keyword" value="" required="required"/>
                    </td>
                </tr>
                <tr>
                    <td>内容</td>
                    <td colspan="3">
                        <textarea name="content" style="width:500px;height:300px;" required="required"></textarea>
                    </td>
                </tr>
                <tr>
                    <td>跳转URL</td>
                    <td colspan="3">
                        <input type="text" name="url" value="http://vip.tdtz888.com/mobile.php/Public/flashNews"
                               required="required" style="width:400px;"/>
                    </td>
                </tr>
                <tr>
                    <td>发送方式</td>
                    <td colspan="3">
                        <input type="radio" name='send_type' value='test' checked>测试
                        <input type="radio" name='send_type' value='send'>正式发送
                    </td>
                </tr>
                <tr>
                    <td>测试人员</td>
                    <td colspan="3">
                        <select name="test_openid">
                            <option value="">请选择</option>
                            <option value="oyAB21uf4qk9Py1s6uGlLWCB9DAs">余蒙</option>
                            <option value="oyAB21nc8_ADAm193404EoTwQZ8A">邓国庆</option>
                            <option value="oyAB21n67HYb4x5wGbpm_SjANDok">高可</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <input type="submit" name="submit" value="提交"
                               style="float:right;"
                               class="btn-primary"/>
                    </td>
                </tr>
                </tbody>
            </table>
        </form>
    </div>
</div>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript">
    //表单提交按钮提交一次后禁止再提交
    $("form").submit(function (e) {
        $(this).find("input[type='submit']").attr({"disabled": "disabled"}).css({"cursor": "wait"}).val("提交中，请稍等...");
    });
</script>
</body>
</html>
